package com.ask.service.businessService;

import com.ask.entity.Voucher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IVoucherService extends IService<Voucher> {
    Voucher addVoucher(Voucher voucher);

    void addSecKillVoucher(Voucher voucher);

    List<Voucher> listByShopId(Long shopId);

    List<Voucher> queryVoucherOfShop(Long shopId);
}
